package com.cn.wanxi.util;

import com.cn.wanxi.model.CompanyModel;
import com.cn.wanxi.model.ProductModel;
import com.cn.wanxi.model.UserModel;
import com.cn.wanxi.service.ProductService;
import com.cn.wanxi.service.Ta;
import com.cn.wanxi.service.impl.ProductServiceImpl;
import redis.clients.jedis.Jedis;

import java.util.Date;
import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        String i,j;
        try{
            System.out.println("请输入第一个数字");
             i = scanner.next();

        }catch (Exception e){
            System.out.println("你输入的数字不合法");
        }
        try{
            System.out.println("请输入第二个数字");
            j = scanner.next();

        }catch (Exception e){
            System.out.println("你输入的数字不合法");
        }

    }

}
